<template>

  <div>
    <div class="startFixed">

      <div @click="goLogin"  class="startBtn">开启优享车</div>
    </div>
  </div>
</template>

<script>
  export default {
    name: "start",
    created(){
      localStorage.setItem('welcome',1)
    },
    methods:{

      goLogin(){
        this.$router.replace({
          path:'/personCar',
          query:{
            funCode:'carLogin'
          }
        })
      }
    }
  }
</script>

<style lang="scss" scoped>

  .startFixed{
    position: fixed;
    top:0;left:0;bottom:0;right:0;
    text-align: center;
    background: url("./img/startpic.png") no-repeat center;
    background-size: cover;
  }
  .startBtn{
    display: inline-block;
    width:60%;
    height:40px;
    background:rgba(28,103,255,1);
    border-radius:5px;
    font-weight:400;
    color:rgba(255,255,255,1);
    line-height:40px;
    font-size:16px;
    position: relative;
    top:80%;


  }
</style>
